/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sunsite.service;

import java.util.List;
import sunsite.dao.NewsTypeDao;
import sunsite.po.NewsType;

/**
 *
 * @author mg
 */
public class NewsTypeServiceImpl implements NewsTypeService{
    private NewsTypeDao newsTypeDao;

    public void setNewsTypeDao(NewsTypeDao newsTypeDao) {
        this.newsTypeDao = newsTypeDao;
    }

    public List<NewsType> getNewsType() throws Exception {
        return newsTypeDao.getNewsType();
    }

}
